/**
 * Copyright &copy; 2020 <a href="https://github.com/somowhere/exam-system">exam-system</a> All rights reserved.
 */
package com.shanhesoft.java.modules.exam.domain;

import lombok.*;
import com.baomidou.mybatisplus.annotation.*;
import com.shanhesoft.java.common.core.annotation.DictType;
import com.shanhesoft.java.common.persistence.domain.IdEntity;

import javax.validation.constraints.Size;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.*;

/**
 * 实训题目管理Entity 实训题目管理
 * @author admin
 * @version 2020-11-17 01:00:59
 */
@TableName(value = "t_bank_virtual_training_que")
@Data @ToString @NoArgsConstructor @AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class BankVirtualTrainingQue extends IdEntity<BankVirtualTrainingQue> {

	private static final long serialVersionUID = 1L;
	/** F_QUESTIONBANKID question_bank_id  :  题库编号 */
	public static final String F_QUESTIONBANKID = "questionBankId";
	/** F_TITLE title  :  实验名称 */
	public static final String F_TITLE = "title";
	/** F_INTRODUCTION introduction  :  简介 */
	public static final String F_INTRODUCTION = "introduction";
	/** F_CONTENT content  :  实验指南 */
	public static final String F_CONTENT = "content";
	/** 实验指南图片路径 */
//	public static final String F_IMAGEPATH = "imagePath";
	/** F_MATERIAL material  :  实验素材 */
	public static final String F_MATERIAL = "material";
	/** F_ANSWER answer  :  实验答案 */
	public static final String F_ANSWER = "answer";
	/** F_TRAININGENVIRONMENTID training_environment_id  :  实验镜像 */
	public static final String F_TRAININGENVIRONMENTID = "trainingEnvironmentId";
	/** F_RUNTIME run_time  :  实验时长 */
	public static final String F_RUNTIME = "runTime";
	/** F_COMPUTINGRESOURCE computing_resource  :  计算资源 */
	public static final String F_COMPUTINGRESOURCE = "computingResource";
	/** F_PUBLISHFLAG publish_flag  :  是否发布 */
	public static final String F_PUBLISHFLAG = "publishFlag";

	/** questionBankId 题库编号 */@NotBlank @Size(max=50)
	@TableField("question_bank_id")
	private String questionBankId;
	/** title 实验名称 */@NotBlank @Size(max=30)
	private String title;
	/** introduction 简介 */@Size(max=65535)
	private String introduction;
	/** content 实验指南 */@Size(max=65535)
	private String content;
	/**实验指南图片路径*/
//	@Size(max=50)
//	@TableField("image_path")
//	private String imagePath;
	/** material 实验素材 */@Size(max=200)
	private String material;
	/** answer 实验答案 */@Size(max=200)
	private String answer;
	/** dockerImage 实验镜像 */@NotBlank @Size(max=200)
	@TableField("training_environment_id")
	private String trainingEnvironmentId;
	/** runTime 实验时长 */@NotNull
	@TableField("run_time")
	private Integer runTime;
	/** computingResource 计算资源 */@NotBlank @Size(max=20)
	@TableField("computing_resource")
	private String computingResource;
	/** publishFlag 是否发布 */@Size(max=1)
	@TableField("publish_flag")
	private String publishFlag;


	@Override
    public boolean equals(Object o) {
        return super.equals(o);
    }
    @Override
    public int hashCode() {
        return super.hashCode();
    }
}
